import { useState } from 'react'

import {useRoutes} from 'react-router-dom'
import router from './router/index'
function App() {
  const [count, setCount] = useState(0)
  const outlet =useRoutes(router)
  return (
    <div className="App">
  
    {outlet}

    </div>
  )
}

export default App
